﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ResvDO.aspx.cs" Inherits="JinJiang.BookingEngine.Web.en.ResvDO" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <link href="css/hubs1_dfb.css" type="text/css" rel="Stylesheet" />
    <script language="javascript" type="text/javascript" src="JS/resetiframe.js"></script>
    <script language="javascript" type="text/javascript" src="JS/jquery.js"></script>
    <script language="javascript" type="text/javascript" src="JS/payinfo.js"></script>
    <script>
        <%=PageScript %>
        function paySuccess(){
            window.location.reload();
        }
    </script>
    <style type="text/css">
        .STYLE1
        {
            color: #990000;
        }
        .td3
        {
            border: 1px solid #D0D0D0;
            padding: 0px 4px 0px 4px;
        }
        .td4
        {
            border-right: 1px solid #D0D0D0;
            border-bottom: 1px solid #D0D0D0;
            border-left: 1px solid #D0D0D0;
            padding: 0px 4px 0px 4px;
        }
    </style>
</head>
<body id="bodyBooking" runat="server">
    <form id="mainForm" runat="server">
    <table width="100%" cellpadding="0" cellspacing="0">
        <tr>
            <td>
                <div class="Frame">
                    <div class="RightContentTitle">
                    </div>
                </div>
                <div id="Div1">
                    <script language="javascript" type="text/javascript">

                        //打印
                        function popprint(t, div) {
                            var printPop = window.open("", "Print", "resizable=yes,scrollbars=yes,toolbar=no,menubar=yes");
                            document.onload = printPop;
                            printPop.focus();
                            printPop.document.open();
                            printPop.document.write("<html><head><title>" + t + "</title>");
                            printPop.document.write("<META http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n");
                            printPop.document.write("<link href=\"CSS/main.css\" rel=\"stylesheet\" type=\"text/css\" />");
                            printPop.document.write("<style>@media print{input,button,.button{display:none}} .printbutton,.font4,#btnPrintsuccess{display:none;} P,td{font-size:12px;}</style>");
                            printPop.document.write("<scr" + "ipt>function killerror() {return true;} window.onerror = killerror;</scri" + "pt>");
                            printPop.document.write("    <style type=\"text/css\"> ");
                            printPop.document.write(".td3 { ");
                            printPop.document.write("	border: 1px solid #D0D0D0; ");
                            printPop.document.write("	padding:0px 4px 0px 4px; ");
                            printPop.document.write("} ");
                            printPop.document.write(".td4 { ");
                            printPop.document.write("	border-right: 1px solid #D0D0D0; ");
                            printPop.document.write("	border-bottom:1px solid #D0D0D0; ");
                            printPop.document.write("	border-left: 1px solid #D0D0D0; ");
                            printPop.document.write("	padding:0px 4px 0px 4px; ");

                            printPop.document.write("} ");
                            printPop.document.write("</style> ");
                            printPop.document.write("</head>\n");
                            printPop.document.write("<body rightmargin=\"0\" bottommargin=\"0\" leftmargin=\"0\" topmargin=\"0\">\n");
                            printPop.document.write("<center><input type=button class=\"print\" value=\"打印\" onclick=\"window.print();\"></center>");
                            printPop.document.write("<div >");
                            printPop.document.write(div);
                            printPop.document.write("</div>");
                            printPop.document.write("</body>\n</html>");
                            printPop.document.close();

                        }
                    </script>
                    <div id="main">
                        <br />
                        <asp:Panel ID="pnlPrepay" runat="server" Width="100%" Visible="False">
                            <div class="xsnazzy " align="center" style="width: 99%">
                                <b class="xtop"><b class="xb1"></b><b class="xb2 color_d"></b><b class="xb3 color_d"></b></b>
                                <div class="xboxcontent" style="text-align: left; padding: 15px;">
                                    <table width="450" border="0" style="line-height: 22px;" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td>
                                                &middot; 您的预订信息已保留，您预订的房型需要预付费<font style="font-weight: bold">
                                                    <asp:Label ID="labpaytotal" runat="server" Text="Label"></asp:Label>
                                                </font>CNY，请在线支付预付房费并完成预订。
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                &middot; 本订单2个小时后过期，请您尽快完成预付操作。
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <br />
                                                <asp:Literal runat="server" ID="onlinepay"></asp:Literal>
                                                <asp:Label ID="labpayok" runat="server"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                Order Number：<%=lblPayOrderNO%>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                                <b class="xbottom"><b class="xb4 color_d"></b><b class="xb3 color_d"></b><b class="xb2 color_d"></b><b class="xb1 "></b></b>
                            </div>
                            <asp:Literal ID="litHtml" runat="server"></asp:Literal>
                            <br />
                            <br />
                        </asp:Panel>
                        <asp:Panel ID="pnlSuccess" runat="server" Width="100%">
                            <div class="xsnazzy " style="width: 500px;">
                                <b class="xtop"><b class="xb1"></b><b class="xb2 color_d"></b><b class="xb3 color_d"></b><b class="xb4 color_d"></b></b>
                                <div class="xboxcontent">
                                    <div style="padding-left: 10px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px">
                                        <p>Hotel information<br />
                                            &nbsp;<asp:Label ID="lblDesc" runat="server"></asp:Label><br />
                                            <br />
                                            Confirmation Number:
                                            <asp:Label ID="lblConfnum" runat="server" Text=" "></asp:Label><br />
                                            Stateus：
                                            <asp:Label ID="lblStatus" runat="server"></asp:Label><br />
                                            Hotel Name:
                                            <asp:Label ID="lblHotelName" runat="server" Text=" "></asp:Label><br />
                                            Hotel Address:
                                            <asp:Label ID="lblHotelAddress" runat="server" Text=" "></asp:Label><br />
                                            Hotel Description:<br />
                                            &nbsp;
                                            <label></label>
                                            <br />
                                            Guest Name:
                                            <asp:Label ID="lblGuestName" runat="server"></asp:Label><br />
                                            Check-in Date:
                                            <asp:Label ID="lblCheckin" runat="server"></asp:Label><br />
                                            Check-out Date:
                                            <asp:Label ID="lblCheckout" runat="server"></asp:Label><br />
                                            Nights:
                                            <asp:Label ID="lblNights" runat="server"></asp:Label><br />
                                            Plan Description:
                                            <asp:Label ID="lblPlanDesc" runat="server"></asp:Label><br />
                                            Room Description:
                                            <asp:Label ID="lblRoomDesc" runat="server"></asp:Label><br />
                                            Rooms:
                                            <asp:Label ID="lblRoom" runat="server"></asp:Label><br />
                                            Adults:
                                            <asp:Label ID="lblAdults" runat="server"></asp:Label><br />
                                            Children:
                                            <asp:Label ID="lblChildren" runat="server"></asp:Label><br />
                                            Price List:
                                            <asp:Label ID="lblPricelist" runat="server"></asp:Label><br />
                                            Daily Price:&nbsp;
                                            <asp:Label ID="lblDailyPrice" runat="server"></asp:Label><br />
                                            Totel Price:
                                            <asp:Label ID="lblTotalPrice" runat="server"></asp:Label><br />
                                            Cancellation Policy:
                                            <asp:Label ID="lblCxlRule" runat="server"></asp:Label><br />
                                            Guarantee Policy:<asp:Label ID="lblGuaRule" runat="server"></asp:Label>
                                            &nbsp;
                                            <br />
                                            Early check in time:<asp:Label ID="lblEarlyChickin" runat="server"></asp:Label><br />
                                            Late check out time:
                                            <asp:Label ID="lblLateCheckin" runat="server"></asp:Label><br />
                                            Remark:
                                            <asp:Label ID="lblRemark" runat="server"></asp:Label><br />
                                            <asp:Label ID="lblSlogan" runat="server"></asp:Label><br />
                                            <asp:Label ID="lblPayState" runat="server" Text=""></asp:Label><br />
                                        </p>
                                        <p>&nbsp;</p>
                                        <p>
                                            <input type="button" id="btnPrintsuccess" runat="server" value="Print these information" />
                                        </p>
                                    </div>
                                </div>
                                <b class="xbottom"><b class="xb4 color_d"></b><b class="xb3 color_d"></b><b class="xb2 color_d"></b><b class="xb1 "></b></b>
                            </div>
                            <asp:Literal runat="server" ID="googlejs"></asp:Literal>
                        </asp:Panel>
                        <asp:Panel ID="pnlFail" EnableViewState="false" runat="server" Width="100%">
                            <div class="xsnazzy " align="center" style="width: 700px;">
                                <b class="xtop"><b class="xb1"></b><b class="xb2 color_d"></b><b class="xb3 color_d"></b><b class="xb4 color_d"></b></b>
                                <div class="xboxcontent">
                                    <div style="padding-left: 10px; padding-right: 10px; padding-top: 10px; padding-bottom: 10px">
                                        <div align="right" style="width: 250px;">
                                            Error Message
                                        </div>
                                        <div style="width: 260px;">
                                            <!--img src="images/mapex.jpg" /-->
                                        </div>
                                        <div align="left" style="width: 400px;">
                                            <p><span class="STYLE1">Cannot process the reservation, please check the information below, or call 800-819-5677,400-670-5677 for help!</span><br />
                                                <br />
                                                <asp:Label ID="lblErrMsg" runat="server"></asp:Label></p>
                                            <p>
                                                <button onclick="window.print();return false;" type="button">
                                                    <div align="center">
                                                        Print</div>
                                                </button>
                                                <br />
                                            </p>
                                        </div>
                                    </div>
                                </div>
                                <b class="xbottom"><b class="xb4 color_d"></b><b class="xb3 color_d"></b><b class="xb2 color_d"></b><b class="xb1 "></b></b>
                            </div>
                        </asp:Panel>
                    </div>
                </div>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
